package Java;

public class test31 {
    public static void main(String[] args) {
        SumUtils(1,2);
        SumUtils(1.2,1.3);
        SumUtils("lo","ve");
        SumUtils(10);

    }
    public static  void SumUtils(int a,int b){
        System.out.println(a+b);
    }
    public static  void SumUtils(double a,double b){
        System.out.println(a+b);
    }
    public static  void SumUtils(String a,String b){
        System.out.println(a+b);
    }
    public static  void SumUtils(int n){
        int sum=0;
        for (int i = 1; i <=n ; i++) {
            sum+=i;
        }
        System.out.println(sum);
    }
}

